package com.uiao.stone.service;

import com.uiao.stone.data.User;

import java.util.List;

/**
 * @author cuihao
 * @date 2017/12/12
 */
public interface UserService {
    /**
     * 通过id查找注册用户
     *
     * @param userId 用户的pkUser
     * @return User
     */
    User findUserById(Integer userId);

    /**
     * 列出全部注册用户
     *
     * @return List<User>
     */
    List<User> listUsers();

    void order();
}
